from tkinter import Tk,Spinbox,mainloop,BOTTOM

root = Tk()

Spinbox(root, from_=0, to=10,increment=0.12,format='%10.4f' ).pack()
##Spinbox(root, value=('西瓜', '苹果', '香蕉')).pack(side=BOTTOM)

mainloop()